package org.jeecg.modules.demo.oa.vo;

import java.util.List;

import com.baomidou.mybatisplus.annotation.TableField;
import org.jeecg.modules.demo.oa.entity.OaHetong;
import org.jeecg.modules.demo.oa.entity.OaHetongShenpi;
import lombok.Data;
import org.jeecgframework.poi.excel.annotation.Excel;
import org.jeecgframework.poi.excel.annotation.ExcelEntity;
import org.jeecgframework.poi.excel.annotation.ExcelCollection;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.springframework.format.annotation.DateTimeFormat;
import java.util.Date;
import org.jeecg.common.aspect.annotation.Dict;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

/**
 * @Description: 合同审批表
 * @Author: jeecg-boot
 * @Date:   2024-09-11
 * @Version: V1.0
 */
@Data
@ApiModel(value="oa_hetongPage对象", description="合同审批表")
public class OaHetongPage {

	/**主键*/
	@ApiModelProperty(value = "主键")
    private java.lang.String id;
	/**合同编号*/
	@Excel(name = "合同编号", width = 15)
	@ApiModelProperty(value = "合同编号")
    private java.lang.String hetongNo;
	/**合同名称*/
	@Excel(name = "合同名称", width = 15)
	@ApiModelProperty(value = "合同名称")
    private java.lang.String hetongName;
	/**合同内容*/
	@Excel(name = "合同内容", width = 15)
	@ApiModelProperty(value = "合同内容")
    private java.lang.String hetongContent;
	/**创建人*/
	@ApiModelProperty(value = "创建人")
    private java.lang.String createBy;
	/**创建日期*/
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
	@ApiModelProperty(value = "创建日期")
    private java.util.Date createTime;
	/**更新人*/
	@ApiModelProperty(value = "更新人")
    private java.lang.String updateBy;
	/**更新日期*/
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
	@ApiModelProperty(value = "更新日期")
    private java.util.Date updateTime;
	/**执行部门*/
    @Dict(dictTable = "sys_depart", dicText = "depart_name", dicCode = "id")
	@ApiModelProperty(value = "执行部门")
    private java.lang.String sysOrgCode;
	/**审批节点*/
	@Excel(name = "审批节点", width = 15)
	@ApiModelProperty(value = "审批节点")
    private java.lang.Integer shenpiOrdinal;
	/**合同状态*/
	@Excel(name = "合同状态", width = 15, dicCode = "hetong_status")
    @Dict(dicCode = "hetong_status")
	@ApiModelProperty(value = "合同状态")
    private java.lang.String billStatus;
	/**备注*/
	@Excel(name = "备注", width = 15)
	@ApiModelProperty(value = "备注")
    private java.lang.String remark;
	/**未盖章附件*/
	@Excel(name = "未盖章附件", width = 15)
	@ApiModelProperty(value = "未盖章附件")
    private java.lang.String file1;
	/**盖章附件*/
	@Excel(name = "盖章附件", width = 15)
	@ApiModelProperty(value = "盖章附件")
    private java.lang.String file2;

	@ExcelCollection(name="合同部门审批")
	@ApiModelProperty(value = "合同部门审批")
	@TableField(exist = false)
	private List<OaHetongShenpi> oaHetongShenpiList;

}
